using I2.Loc;
using UnityEngine;

public class PVPmapLocalize : MonoBehaviour
{
	public ManagerSelectMap mapManager;

	public void MapLocalization()
	{
		MapInfo[] arrMapInfo = mapManager.arrMapInfo;
		foreach (MapInfo mapInfo in arrMapInfo)
		{
			string text = ScriptLocalization.Get(string.Format("PVP_map_info/{0}", mapInfo.curLevel.nameScene));
			if (!string.IsNullOrEmpty(text))
			{
				mapInfo.curLevel.nameLevel = text;
			}
		}
	}
}
